<?php
/*
 * (C) Copyright 2013 Torsten Gorath (http://www.blauesdach.de/).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Contributors:
 *     Torsten Gorath
 */

/**
 * 
 */
class StatistikBund {
	
    private $stichtag = "0000-00-00";
    private $meldeId = "";
    private $kontaktId = "";
    private $staid = "03";
    private $erhid = "0141";
    private $berichtseinheitId = "03403000000058";
    private $BEGIN = "  ";
    private $NL = "\n";
    
	function __construct($argument) {
		
	}
    
    function _protokoll() {
        echo $BEGIN.'<protokoll>'.$NL;
        echo $BEGIN.$BEGIN.'<dateneingang>'.$NL;
        echo 
        echo $BEGIN.$BEGIN.'</dateneingang>'.$NL;
        echo $BEGIN.'</protokoll>'.$NL;
    }
    
    function create() {
        echo '<?xml version "1.0" encoding="iso-8859-1"?>'.$NL;
        echo '<DatML-RAW-D xmlns="http://www.destatis.de/schema/datml-raw/2.0/de" version="2.0">'.$NL;
        _protokoll();
        echo '</DatML-RAW-D>'.$NL;
    }
}

?>